/* === Meny i header på desktop, overlay i mobil === */
@media (min-width: 701px) {
  .shop-header {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
  }
  .shop-nav {
    position: static;
    width: auto;
    margin-left: 24px;
    flex: 1 1 auto;
  }
  .nav-toggle {
    display: none;
  }
}
@media (max-width: 700px) {
  .shop-nav {
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 150;
    pointer-events: none;
  }
  .shop-nav .nav-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .shop-nav ul.nav-menu {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100vw;
    margin: 0;
    padding: 70px 0 0 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100vh;
    pointer-events: auto;
  }
  .shop-nav ul.nav-menu.active {
    display: flex;
  }
}
/* === Produktmeny och tydligare meny på desktop === */
@media (min-width: 701px) {
  .shop-nav .nav-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .product-menu {
    list-style: none;
    margin: 0 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 20px 18px 16px;
    min-width: 150px;
  }
  .product-menu li a {
    color: #ff6f61;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
  }
  .product-menu li a:hover {
    color: #e65b50;
  }
  .nav-menu {
    display: flex !important;
    gap: 28px;
    align-items: center;
  }
  .nav-menu li a {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    transition: background 0.2s, color 0.2s;
  }
  .nav-menu li a:hover {
    background: #fff;
    color: #ff6f61;
  }
}
/* === Hamburgermeny för mobil === */
@media (max-width: 700px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    margin: 0 0 0 auto;
    cursor: pointer;
    padding: 6px 12px;
  }
  .shop-nav ul.nav-menu {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: absolute;
    left: 0;
    top: 60px;
    z-index: 100;
  }
  .shop-nav ul.nav-menu.active {
    display: flex;
  }
  .shop-nav li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #333;
  }
  .shop-nav li:last-child {
    border-bottom: none;
  }
}

@media (min-width: 701px) {
  .nav-toggle {
    display: none;
  }
  .shop-nav ul.nav-menu {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
}
/* === Mobilanpassning för header och varukorg === */
@media (max-width: 700px) {
  .shop-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 5px 0 5px;
    gap: 0;
    position: relative;
  }
  .shop-header .logo {
    text-align: left;
  }
  .cart {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    font-size: 22px;
    background: #111;
    color: #fff;
    padding: 10px 18px 10px 12px;
    border-radius: 0 0 0 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    text-align: right;
    max-width: 180px;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    margin: 10px 0 0 10px;
    cursor: pointer;
    z-index: 201;
    position: relative;
  }
  .shop-nav {
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 150;
    pointer-events: none;
  }
  .shop-nav ul.nav-menu {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100vw;
    margin: 0;
    padding: 70px 0 0 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100vh;
    pointer-events: auto;
  }
  .shop-nav ul.nav-menu.active {
    display: flex;
  }
  .shop-nav li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #333;
    font-size: 1.3rem;
    padding: 18px 0;
  }
  .shop-nav li:last-child {
    border-bottom: none;
  }
}

/* =============================================================
   SNABBKORGEN.SE – STILMALL (style_snabb.css)
   Den här filen styr utseendet på kundens webshop.
   Varje sektion har en kommentar som förklarar vad den gör.
   ============================================================= */

/* === Grundinställningar för hela sidan === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5; /* Ljus bakgrundsfärg */
  color: #333;         /* Mörk textfärg */
}

/* === Header: toppmeny och logotyp === */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;    /* Mörk bakgrund */
  color: #fff;         /* Vit text */
  padding: 10px 20px;
}

.shop-header .logo h1 {
  margin: 0;
  font-size: 24px;
}

/* === Navigationsmeny (länkar) === */
.shop-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.shop-nav li {
  margin: 0 15px;
}

.shop-nav a {
  color: #fff;
  text-decoration: none;
}

/* === Kundvagnsikon === */
.cart {
  font-size: 18px;
}

/* === Hero-banner: välkomstsektion === */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #ff6f61, #ff9472); /* Färgglad bakgrund */
  color: #fff;
}

.hero h2 {
  margin: 0;
  font-size: 36px;
}

/* === Call-to-action-knapp === */
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #fff;
  color: #ff6f61;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.cta-button:hover {
  background: #f0f0f0;
}

/* === Produktgalleri (grid) === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px;
}

/* === Produktkort === */
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.product-card img {
  max-width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  margin: 10px 0;
}

/* === Pristext === */
.price {
  color: #ff6f61;
  font-weight: bold;
  margin: 5px 0 15px;
}

/* === Köp-knapp === */
.add-to-cart {
  padding: 10px 15px;
  border: none;
  background: #ff6f61;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.add-to-cart:hover {
  background: #e65b50;
}

/* === Sidfot === */
.shop-footer {
  text-align: center;
  padding: 15px;
  background: #111;
  color: #fff;
  margin-top: 30px;
}
